package com.domain.service;

import com.domain.common.Result;

import java.util.List;
import java.util.Map;

public interface IndexService {
    Result getCommentPublishList(String publishId, String pageNum, String pageSize);

    Result addComment(String userId, String content, String publishId);

    Result getReportType();

    Result addReport(String userId, String reportTypeId, String content, String images, String publishId);

    Result addFollow(String userId, String publishId, String helpUsersId);

    Result getUsersFollowList(String userId, String pageNum, String pageSize);


    Result helpPublish(String helpId, String publishId, String userId, String helpType);

    Result publishAcceptance(String acceptanceId, String publishId, String userId, String acceptanceMessage, String helpId);


    List<Map<String, Object>> getIndexUsersInfo(String id, String pageNum, String usersId);

    Result serch(String usersId, String publishType, String city, String gender, String itisPaid, String pageNum, String pageSize);

    Result addCityHistory(String usersId, String cityName);

    Result getUsersCityHistory(String usersId);

    Result removeFollow(String usersId, String publishId);


    List<Map<String, Object>> getIndexUsersInfos(String usersId, String pageNum, String pageSize);

    List<Map<String, Object>> getIndexG(String usersId, String pageNum, String pageSize, String type);

    Result getOpens();
}
